/* 
 * File:   ConnBase.h
 * Author: kisme
 *
 * Created on 26 December 2012, 10:19 PM
 */

#ifndef CONNBASE_H
#define	CONNBASE_H

// sockaddr_in..
#include <netinet/in.h>
// bzero..
#include <string.h>
// setNonblocking..
#include <fcntl.h>
//
#include "../objt/ObjtBase.h"

struct Conf_ConnBase : public Conf_ObjtBase {
    // base conf
};

class ConnBase : public ObjtBase {
public:
    ConnBase();
    ConnBase(const ConnBase& orig);
    virtual ~ConnBase();
    //---------//
    /**
     * configure the socket's working mode
     */
    int setNonblock(int aFd);
private:

};

#endif	/* CONNBASE_H */

